setDeco

fun setDeco(newDecoration: Decorated, newOffsetX: Int = offsetX, newOffsetY: Int = offsetY)

Updates the rendered decoration.

Author

fzzyhmstrs

Since

0.6.0

Parameters

newDecoration

Decorated to replace the current one

newOffsetX

new X position offset for the decoration rendering

newOffsetY

new Y position offset for the decoration rendering